Total Complexity | 29 |
Dependencies | 0 |
Dependents | 1 |
Total lines | 241 |
Lines of code | 170 |
Logical lines of code | 68 |
Comment lines | 34 |
Methods | 9 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_period_start() | 55 | 6 | 19 | |
get_previous_period_start() | 55 | 6 | 19 | |
generate() | 55 | 4 | 20 | |
get_top_products() | 47 | 2 | 43 | |
get_sales_data() | 57 | 3 | 18 | |
get_orders_data() | 59 | 3 | 16 | |
calculate_percentage_change() | 70 | 3 | 6 | |
get_product_previous_data() | 54 | 1 | 26 | |
get_period_end() | 80 | 1 | 3 |